package com.lh.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: linghao
 * @since: 2022/10/2
 */
@RestController
@RequestMapping("/test")
public class TestController {

//    @RequestMapping("/hello")
    @GetMapping("hello")
    public String test(){
        return "hello security";
    }
}
